package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author WeiZiDong
 */
@Table(name = "`onl_cgreport_head`")
@Data
@ApiModel("")
public class OnlCgreportHead implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "Id", example = "String")
    private String id;
    @Column(name = "`code`")
    @ApiModelProperty(value = "报表编码", example = "String")
    private String code;
    @Column(name = "`name`")
    @ApiModelProperty(value = "报表名字", example = "String")
    private String name;
    @Column(name = "`cgr_sql`")
    @ApiModelProperty(value = "报表SQL", example = "String")
    private String cgrSql;
    @Column(name = "`return_val_field`")
    @ApiModelProperty(value = "返回值字段", example = "String")
    private String returnValField;
    @Column(name = "`return_txt_field`")
    @ApiModelProperty(value = "返回文本字段", example = "String")
    private String returnTxtField;
    @Column(name = "`return_type`")
    @ApiModelProperty(value = "返回类型，单选或多选", example = "1")
    private String returnType;
    @Column(name = "`db_source`")
    @ApiModelProperty(value = "动态数据源", example = "String")
    private String dbSource;
    @Column(name = "`content`")
    @ApiModelProperty(value = "描述", example = "String")
    private String content;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "修改时间", example = "2019-05-05 17:55:31")
    private Date updateTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "修改人id", example = "String")
    private String updateBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人id", example = "String")
    private String createBy;

    private static final long serialVersionUID = 1L;
}
